package cn.loan.dao;

import cn.loan.entity.Education;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 11:16 2019/4/21
 */
@Mapper
public interface EducationMapper {

    /**
     * 查询所有学历
     * @return
     */
    List<Education> findAll();


    /**
     * 根据id查学历
     * @param education_id
     * @return
     */
    Education findEduById(@Param("education_id")int education_id);


    /**
     * 查询最小的id
     * @return
     */
    int findMinId();

}
